package dws_config

import (
	"github.com/gin-gonic/gin"
	"server/middleware"
)

type DwsConfigRouter struct {
}


func (s *DwsConfigRouter) InitDwsConfigRouter(Router *gin.RouterGroup) {
	dwsConfigRouter := Router.Group("dwsConfig").Use(middleware.OperationRecord())
	dwsConfigRouterWithoutRecord := Router.Group("dwsConfig")
	var dwsConfigApi = DwsConfigApi{}
	{
		dwsConfigRouter.POST("createDwsConfig", dwsConfigApi.CreateDwsConfig)
		dwsConfigRouter.DELETE("deleteDwsConfig", dwsConfigApi.DeleteDwsConfig)
		dwsConfigRouter.PUT("updateDwsConfig", dwsConfigApi.UpdateDwsConfig)
	}
	{
		dwsConfigRouterWithoutRecord.GET("findDwsConfig", dwsConfigApi.FindDwsConfig)
	}
}
